package org.monkey.example.generate.entity.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.monkey.common.cbs.entity.po.BasePo;
import org.springframework.format.annotation.DateTimeFormat;


@Data
@TableName(value = "generate_test")
@NoArgsConstructor
@AllArgsConstructor
public class GenerateTestPo extends BasePo {

  @TableField(value = "`animal_age`")
  private Integer animalAge;
  @TableField(value = "`animal_name`")
  private String animalName;
  @TableField(value = "`description`")
  private String description;
  @TableField(value = "`total_amount`")
  private BigDecimal totalAmount;
  @TableField(value = "`count`")
  private Long count;
  @TableField(value = "`send_date`")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date sendDate;
  @TableField(value = "`input_time`")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date inputTime;
  @TableField(value = "`range`")
  private Float range;
}
